package com.yungu.swift.system.finance.model.vo;

import com.yungu.swift.base.model.BaseVo;
import com.yungu.swift.base.model.annotation.Desensitization;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FinanceRefundVo extends BaseVo {

    @ApiModelProperty(value = "订单uuid")
    private String orderUuid;

    @ApiModelProperty(value = "退款完成时间（退款状态完成时的更新时间）")
    private Date updateTime;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "原平台支付订单流水")
    private String sfoFinanceNumber;

    @ApiModelProperty(value = "原第三方支付流水号")
    private String serialNumber;

    @ApiModelProperty(value = "退款平台流水号")
    private String financeNumber;

    @ApiModelProperty(value = "退款第三方流水号")
    private String refundSerialNumber;

    @ApiModelProperty(value = "退款人昵称")
    private String nickname;

    @Desensitization(type = Desensitization.DesensitionType.MOBILE)
    @ApiModelProperty(value = "退款人手机号")
    private String mobile;

    @ApiModelProperty(value = "退款账户--类型（1：微信，2：支付宝，4：余额）", example = "0")
    private Integer type;

    @ApiModelProperty(value = "退款类型(科目)", example = "0")
    private String course;

    @ApiModelProperty(value = "科目文字描述")
    private String courseDescription;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal amount;

    @ApiModelProperty(value = " 退款状态（1：退款中，2：退款成功，3：退款失败）", example = "0")
    private Integer status;
}
